package com.lx.service;

import com.lx.api.response.RelateItemInfo;
import com.lx.api.response.TypeInfo;
import com.lx.model.*;

import java.util.List;

public interface SettingService {

    PrintSystemParam getSystemParam(Long shopId);

    void saveSystemParam(PrintSystemParam param);

    PrintKitchenFormat getPrintKitchenFormat(Long shopId);

    void savePrintKitchenFormat(PrintKitchenFormat format);

    PrintBillFormat getPrintBillFormat(Long shopId);

    void savePrintBillFormat(PrintBillFormat format);

    List<PrintPlan> findPrintPlan(Long shopId);


    Long savePrintPlan(PrintPlan plan);

    void deletePrintPlanById(Long printPlanId);

    List<TypeInfo> findDishType(Long merchantsId,Long shopId);

    List<RelateItemInfo> findShopDishForRelate(Long merchantsId,Long shopId, Long dishTypeNo, String shopDishNo);

    void saveDishPrintPlan(PrintDishPlan dishPlan);

    void saveDishPrintPlans(List<PrintDishPlan> dishPlans );

    List<TypeInfo> findTableType(Long shopId);

    List<RelateItemInfo> findShopTableForRelate(Long shopId, String tableTypeName,String tableNo);

    void saveTablePrintPlan(PrintTablePlan tablePlan);

    void saveTablePrintPlans(List<PrintTablePlan> tablePlans );
}
